<?php
// Application Configuration
define("APPLICATION_ID",21);
define("DEFAULT_LANGUAGE","FR");
// Default Settings
define("DEV_ENV", true);
define("CACHE_MENU", true);
define("CACHE",true);
define("SESSION_NAME","orinea-shama-soc");

// Database Connections
Fox\Databases::databases()->register(\Fox\Databases::DB_FOX, array(
	Fox\Databases::PARAM_DRIVER   => 'pdo_mysql',
	Fox\Databases::PARAM_DB       => 'shama_socotec_orx',
	Fox\Databases::PARAM_HOST     => '127.0.0.1',
	Fox\Databases::PARAM_SEKEY     => '707A39697151636C4D53576341475379476D626A5A514E3D6D7273343378777173363537'
),array(Fox\Databases::PARAM_USER, Fox\Databases::PARAM_PASSWORD));

Fox\Databases::databases()->register(\Fox\Databases::DB_APP, array(
	Fox\Databases::PARAM_DRIVER   => 'pdo_mysql',
	Fox\Databases::PARAM_DB       => 'shama_socotec_data',
	Fox\Databases::PARAM_HOST     => '127.0.0.1',
	Fox\Databases::PARAM_SEKEY     => '707A39697151636C4D53576341475379476D626A5A514E3D6D7273343378777173363537'
),array(Fox\Databases::PARAM_USER, Fox\Databases::PARAM_PASSWORD));

// Authentication
Fox\Authenticators::instance()->register(Fox\Authenticators::DRIVER_DB);